<?php
/**
 * Created by PhpStorm.
 * User: win10
 * Date: 2020/3/4
 * Time: 20:11
 */


namespace app\portal\model;

use Think\Db;
use think\Model;

class ZhanModel extends Model{

    public $page = 10;
    public function lists($where=[]){

        $category = $this->where($where)->order('id','desc')

            ->paginate($this->page);

        return $category;

    }
}